package com.itwn;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan(value = "com.itwn.mapper")
public class CinemaApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(CinemaApplication.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }
    }

}
